package com.cy.pj.sys.dao;

import com.cy.pj.sys.pojo.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.util.StringUtils;

import java.util.List;
@Mapper
public interface SysRoleDao {
    int getRowCount(@Param("name") String name);

    List<SysRole> findPageObjects(
            @Param("name") String name,
            @Param("startIndex") Integer startIndex,
            @Param("pageSize")  Integer pageSize
    );
}
